#include<stdio.h>
int main()
{
  float h,t;
  scanf("%f",&h);
  printf("%.1f",(h-100)*0.9*2);
  return 0;
}
